<%-- 
    Document   : ConsultarPessoas
    Created on : 10/12/2011, 23:19:10
    Author     : Administrador
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="Interface/css/estilos.css"/>
        <title>JSP Page</title>
    </head>
    <body>
        <div id="wrap" >
            <div id="wrap" >
                <div align="center" width="100%" height="100%" >
                    <h2>Usuários do ResTI:</h2>
                    <hr />
                    <form nam="frmPesquisar" method="post" action="/WebSistem/ServletPesquisarUsuarios" />
                    Pequisar Pessoas:
                    <input name="textPesquisar" size="20" />
                    <input type="submit" value="Ok" name="buttonPesquisar" />
                    </form>
                    <hr />

                    <h3>
                        <% String pesquisa = (String) request.getAttribute("pesquisa");
                            if (pesquisa != null) {
                        %>
                        <%= pesquisa%>
                        <%}%>
                    </h3>

                    <% String enviada = (String) request.getAttribute("list");
                        if (enviada != null) {
                    %>
                    <%= enviada%>
                    <%}%>
                </div>

                <div>
                    <div align="center" width="100%" height="100%" >
                        <% String alert = (String) request.getAttribute("alertas");
                            if (alert != null) {
                        %>
                        <%= alert%>
                        <%}%>
                    </div>
                </div>

                </body>
                </html>
